﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MaterialEditor
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            
            Form1.instance = new Form1();
            Form1.instance.Show();
            Fonts.Inilitize();
            EffectManager.Inilitize();

            while (Form1.instance.Looping)
            {
                Form1.instance.Update();
                Form1.instance.Draw();
                Application.DoEvents();
            }
        }
    }
}
